<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<title>SAO</title>
<link rel="stylesheet" href="css/land.css" type="text/css"  media="screen" />
    <script src="js/jquery-2.1.0.js"></script>
    <script>
        <!-- 登录名和密码都是admin-->
        $(function(){
            $("#box3").click(function(){
                var admName = $("#uname").val();
                var admPasssword = $("#upass1").val();
                $.ajax("/fengwei/Seller/LandAdm",{
                    type:"post",
                    data:{
                        'uname':admName,
                        'password':admPasssword
                    },


                    success:function(data){
                        console.log(data)
                        data="12";
                        window.location.href = "adm_publish.html?seller="+data+"";
                    },
                    error:function(){
                        alert(0)
                    }
                })
            })
        })

    </script>
</head>

<body>

        <!--删除了form--hbl-->
        <div class="box">
            <h2>风味管理员登录</h2>
            <div id="error_box"></div>
                 <div class="input_box">
                <input type="text" placeholder="请输入帐号" id="uname"/>
            </div>
            <div class="input_box">
                <input type="password" placeholder="请输入密码" id="upass1"/>
            </div>

            <div class="input_box1">
              <input type="submit" value="登录" id="box3"/>
            </div>

        </div>


</body>
</html>
